package com.quanyan.stadium.enums;

import com.quanyan.common.enums.BaseEnum;

/**
 * Created by Zheng.Ke
 * Date 2016/8/5.
 */
public enum StadiumResponseEnum implements BaseEnum {

    PEOPLE_EXPIRE(331, "PEOPLE_EXPIRE", "活动人数已满。", true);


    protected int id;

    protected String code;

    protected String label;

    protected boolean success;

    StadiumResponseEnum(int id, String code, String label, boolean success) {
        this.id = id;
        this.code = code;
        this.label = label;
        this.success = success;
    }


    @Override
    public int getId() {
        return id;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getLabel() {
        return label;
    }

    @Override
    public boolean isSuccess() {
        return success;
    }

}
